﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GmModelFamily.h"

namespace gfam
{
    /// \brief 初始化族文档环境，在main.cpp中的事件循环启动之前调用，这个调用实现了以下三个xml工具单例的初始化：
    /// \brief     ComponentEditorVersionToXML::GetInstance()
    /// \brief     ConfigCustomParametersToXML::GetInstance()
    /// \brief     ConfigCustomParametersFromXML::GetInstance()
    ///
    /// \return true 表示初始化成功, false表示失败
    GCMP_MODEL_FAMILY_EXPORT bool InitFamilyDocumentEnvironment();
}